//
//  UIImage+showImage.m
//  QA
//
//  Created by  程 强 on 15-1-19.
//  Copyright (c) 2015年 cl. All rights reserved.
//

#import "UIImage+showImage.h"

@implementation UIImage (showImage)

+(UIImage *)showImage:(NSString *)imageName andType:(NSString *)type{
    NSString *path = [[NSBundle mainBundle] pathForResource:imageName ofType:type];
    UIImage *img=[UIImage imageWithContentsOfFile:path];
    return img;
}

@end
